package com.sky.mapper;

import com.sky.anno.TableInject;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;

import java.util.List;

public interface SetmealDishMapper {
    Integer getByIds(List<Long> ids);

    /**
     * 新增套餐关系
     *
     * @param
     * @return
     */
    @TableInject(OperationType.INSERT)
    void save(List<SetmealDish> result);

    void delete(List<Long> ids);

    List<SetmealDish> getById(Long id);
}
